package sskj.regulatory.presentation.screen.login

import android.content.Intent
import android.net.Uri
import sskj.regulatory.presentation.base_mvp.api.ApiContract


interface LoginContract {


    interface View : ApiContract.View {

        fun openHomeActivity()

        fun loginError(message: String?)

        fun showTipDialogError(message: String?)

        fun clearText()
    }

    interface Presenter : ApiContract.Presenter<View> {

        fun makeLogin(mobile: String, password: String)

        fun checkLogin(resultIntent: Intent?)

        fun autoLogin()
    }
}